<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require_once '../model/clienteModel.php';
require_once '../dao/clienteDAO.php';

/**
 * Description of clienteController
 *
 * @author Santos
 */
class clienteController {

    public function setDados(clienteModel $model) {
        $dao = new clienteDAO();
        return $dao->setDados($model);
    }

    public function getModel() {
        return new clienteModel();
    }

    public function deleteDados(clienteModel $model) {
        $dao = new clienteDAO();
        return $dao->deleteDados($model);
    }

    public function getDados(clienteModel $model) {
        $dao = new clienteDAO();
        return $dao->getDados($model);
    }

}
